package com.yun.blog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yun.blog.bean.Album;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * title        : AlbumMapper
 * projectName  : dantouBlog-back
 * description  : 相册
 * author       : simple
 * date         : 2022/11/30下午4:24
 */

@Mapper
public interface AlbumMapper extends BaseMapper<Album> {

    Album getByAlbumId(@Param("albumId") Integer albumId);

    <P extends IPage<Album>> P customPage(P page);
}
